package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;

@TableName(value ="sc_attendance_type")
@Data
public class ScAttendanceType implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "work_begin")
    private String workBegin;

    @TableField(value = "work_end")
    private String workEnd;

    @TableField(value = "days")
    private BigDecimal days;

    @TableField(value = "month_work1")
    private BigDecimal monthWork1;

    @TableField(value = "month_work2")
    private BigDecimal monthWork2;

    /**
     * 每日休息时长（小时）
     */
    @TableField(value = "rest_work")
    private BigDecimal restWork;

    @TableField(value = "day_work")
    private BigDecimal dayWork;

    @TableField(value = "create_user")
    private String createUser;

    @TableField(value = "create_time")
    private String createTime;

    @TableField(value = "modify_user")
    private String modifyUser;

    @TableField(value = "modify_time")
    private String modifyTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}